package com.linked.goods.goodsbase.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author :dbq
 * @date : 2023/1/28 10:59
 * @description : desc
 */
@Data
@TableName("goods_goods_warehouse")
public class GoodsWarehousePO {
    @TableId(value = "goods_warehouse_id",type = IdType.ASSIGN_UUID)
    private String goodsWarehouseId;
    @TableField("good_version_id")
    private String goodVersionId;
    @TableField("warehouse_id")
    private String warehouseId;
    @TableField("warehouse_count")
    private String warehouseCount;
    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
